using System;
using Microsoft.WindowsAzure;

namespace AzureContrib.WindowsAzure.StorageClient
{
	///<summary>
	/// All Cloud Storage Accounts have a name and an <see cref="Uri"/> and are versionable
	///</summary>
	public interface ICloudStorageAccount
	{
		/// <summary>
		/// <see cref="CloudStorageAccount.QueueEndpoint"/>
		/// </summary>
		Uri QueueEndpoint { get; }

		/// <summary>
		/// <see cref="CloudStorageAccount.BlobEndpoint"/>
		/// </summary>
		Uri BlobEndpoint { get; }

		/// <summary>
		/// <see cref="CloudStorageAccount.TableEndpoint"/>
		/// </summary>
		Uri TableEndpoint { get; }

		/// <summary>
		/// <see cref="CloudStorageAccount.Credentials"/>
		/// </summary>
		IStorageCredentials Credentials { get; }

		/// <summary>
		/// <see cref="CloudStorageAccount.ToString()"/>
		/// </summary>
		string ToString();

		/// <summary>
		/// <see cref="CloudStorageAccount.ToString(bool)"/>
		/// </summary>
		string ToString(bool exportSecrets);
	}
}